package com.ponhu.ea2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author ${author}
 * @since 2021-11-18
 */
@Data
@Accessors(chain = true)
@TableName(value = "ph_inventory_code_generate")
public class PhInventoryCodeGenerate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 自增数字
     */
    private Integer autoCode;

    /**
     * 生成的货品编码
     */
    private String inventoryCode;

    /**
     * 调用方：1-云商，2-采购
     */
    private Integer caller;

    /**
     * 入库方式
     */
    private String type;

    /**
     * 入库方式对应的编码
     */
    private String code;

    /**
     * 生成日期
     */
    private LocalDate createdDate;

    /**
     * 生成时间
     */
    private LocalDateTime createdTime;

}
